﻿using System;

namespace UnityEngine.PostProcessing
{
	// Token: 0x02000117 RID: 279
	public abstract class PostProcessingComponent<T> : PostProcessingComponentBase where T : PostProcessingModel
	{
		// Token: 0x170000EA RID: 234
		// (get) Token: 0x0600052C RID: 1324 RVA: 0x00028C5E File Offset: 0x00026E5E
		// (set) Token: 0x0600052D RID: 1325 RVA: 0x00028C66 File Offset: 0x00026E66
		public T model { get; internal set; }

		// Token: 0x0600052E RID: 1326 RVA: 0x00028C6F File Offset: 0x00026E6F
		public virtual void Init(PostProcessingContext pcontext, T pmodel)
		{
			this.context = pcontext;
			this.model = pmodel;
		}

		// Token: 0x0600052F RID: 1327 RVA: 0x00028C7F File Offset: 0x00026E7F
		public override PostProcessingModel GetModel()
		{
			return this.model;
		}
	}
}
